package common

const MODULE_COMMON = "common" // Common module name

// Service types
const (
	SERVICE_TYPE_ACCESS = "access" // Access service type
	SERVICE_TYPE_ONLINE = "online" // Online service type
	SERVICE_TYPE_ROOM   = "room"   // Room service type
	SERVICE_TYPE_MEDIA  = "media"  // Media service type
)

// Service listen ports
const (
	ACCESS_SERVER_PORT = 8000
	MEDIA_SERVER_PORT  = 9000
)

// transport types
const (
	WEBRTC_TRANSPORT = "webrtc" // WebRTC transport type
)

// transport direction constants
const (
	SEND = "send"
	RECV = "recv"
)

// Special command for response timeout
const RES_TIMEOUT_CMD = 123456
